﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace DoAn
{
    public partial class TemplateUser : System.Web.UI.MasterPage
    {
        private DataClassesDoAnDataContext dc = new DataClassesDoAnDataContext();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                this.RepeaterHangDienThoai.DataSource = this.dc.hangdienthoais.Where(hdt=>hdt.hienthi==true).ToList();
                this.RepeaterHangDienThoai.DataBind();
            }
        }
    }
}
